<?echo html::anchor('contents/create/'.$page->id, 'new content');foreach ($page->orderby('position')->content as $content){	echo '<div class="content_elm">';	$actionbox=new View('contents/actionbox');	$actionbox->controller='contents';	$actionbox->id=$content->id;	echo $actionbox;	echo '<div>';		echo '<h1>'.$content->title.'</h1>';	echo '<p>'.nl2br($content->lead).'</p>';	echo '<p>'.nl2br($content->text).'</p>';		echo '</div>';		echo '</div>';}?>